package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.WalletChannelEnum;
import com.sc.nft.sup.SuperEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_dao_withdraw_record")
public class DaoWithdrawRecord extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * daoId
     */
    private Long daoId;
    /**
     * 钱包Id
     */
    private Long walletId;
    /**
     * 操作人Id
     */
    private Long operatorId;
    /**
     * 银行账号Id
     */
    private Long bankAccountId;
    /**
     * 订单号
     */
    private String customerOrderNo;
    /**
     * 金额
     */
    private BigDecimal amount;
    /**
     * 实际到账金额
     */
    private BigDecimal realAmount;
    /**
     * 关联卡编号
     */
    private String relatedCardNo;
    /**
     * 状态 0 提现中 1成功 2失败
     */
    private Integer status;
    /**
     * 原因
     */
    private String remark;

    /**
     * 手续费
     */
    private BigDecimal feeAmount;
    /**
     * 连连token
     */
    private String llToken;
    /**
     * 渠道
     */
    private WalletChannelEnum channel;

}